package cate.common.table.activity.accumulatedaypay;

import cate.common.table.ESheet;

public class AccumulateDayPayRwdSheet extends ESheet<AccumulateDayPayRwdRow> {
    @Override
    public String getSheetName() {
        return "奖励";
    }

    public AccumulateDayPayRwdRow getRwdRow(int group, int day) {
        return getList().stream().filter(e -> e.group == group && e.day == day).findAny().orElse(null);
    }
}
